Error: Microsoft Word Err=1078...file could not be found... due to path unknown.
Error:
Microsoft Word Err=1078, This file could not be found <Filename>
Cause:
The macro cannot recognize a UNC path.
Solution:
Rewrite the WordBasic macro to change the folder and select the file.
1) Open the macro that was in use when the error message occurred.
2) Rewrite the macro as follows:
Declare Sub ChDir Lib <double quote>kernal32<double quote>/alias <double quote> SetCurrentDirectoryA<double quote> (Path$)
Sub MAIN
S = ChDirUNC(<double quote>\\servername\shared<double quote>)
ChDir <double quote>\\servername\shared<double quote>
FileOpen <double quote>default.doc<double quote>
EndSub
3) Save the macro.
4) Find the desired file.